package com.cssw.fyzb.busi.service.system;

import com.cssw.fyzb.core.dao.system.SmsTplDao;
import com.cssw.fyzb.core.model.dodb.BusiSmsTpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Feng Chen
 */
@Service
public class SmsTplServiceImpl implements SmsTplService {

    @Autowired
    private SmsTplDao smsTplDao;

    @Override
    public List<BusiSmsTpl> list() {
        return smsTplDao.list();
    }

    @Override
    public BusiSmsTpl getByBusiType(String busiType) {
        return smsTplDao.getByBusiType(busiType);
    }


}
